SQL distinct with multiple columns

join shbcf.ru